<div class="h40 lh40 f16 pl20 info-bt-3 BGF5">
    请求参数
    <span class="p0 f14 cursor mr20" onclick="tooltip('param-tip')" id="param-tip" data-toggle="tooltip" data-placement="right"
          title="「支持普通表单参数、自定义参数（row、json、xml等格式）」">
        <i class="iconfont adorn-color mt-3">&#xe6a3;</i>
    </span>

    <a class="main-color fr cursor mr30 f12"
       ng-click="openInterfaceDialog('param', '导入参数', 500);">
        <i class="iconfont adorn-color f16 mt-3">&#xe601;</i>&nbsp;参数
    </a>
</div>

<div class="ml20 mr20 mb10 mt10">
    <div class="btn-group btn-group-sm r3 fl mr10">
        <button ng-class="{true: 'btn btn-main btn-sm param-type', false:'btn btn-default btn-sm param-type'}[model.paramType == 'FORM']"
                type="button" ng-click="model.paramType = 'FORM'">
            表单模式
        </button>
        <button ng-class="{true: 'btn btn-main btn-sm param-type', false:'btn btn-default btn-sm param-type'}[model.paramType == 'RAW']"
                type="button" ng-click="model.paramType = 'RAW'">
            自定义[Row]
        </button>
    </div>
    <div class="cb"></div>
</div>

<input type="hidden" name="paramType" ng-model="model.paramType">
<div ng-class="{true: 'p20 pt0', false:'p20 pt0 none'}[model.paramType == 'FORM']">
	<table class="table-bordered tl input-no-border mb0 w" id="editParamTable">
        <thead>
            <tr class="BGF5 fw500">
                <td class="p10">名称</td>
                <td class="p10 w50">必填</td>
                <td class="p10 w100">位置</td>
                <td class="p10 w100">类型</td>
                <td class="p10 w100">默认值</td>
                <td class="p10 w100">备注</td>
                <td class="w100 tc p10">操作</td>
            </tr>
        </thead>
        <tbody></tbody>
	</table>
    <div onclick="addOneInterParamTr()" class="main-color fr cursor pr15 mt10"
         title="添加一行"><i class="iconfont f16 mt-3">&#xe604;</i> &nbsp;添加一行</div>
    <div class="cb"></div>
</div>
<div ng-class="{true: 'p20 pt0', false:'p20 pt0 none'}[model.paramType == 'RAW']">
    <textarea  class="form-control no-resize" rows="8" ng-model="model.param"></textarea>
</div>


<!--<tr>
    <td class="tc w200">
        参数类型<br>
        <input type="button" class="btn btn-default btn-sm w100 mt10 param-group iactive" value="表单模式"
               onclick="changeDisplay('formParam','customParam');selectButton(this,'param-group')">
        <input type="button" class="btn btn-default btn-sm w100 mt10 param-group" value="自定义"
               onclick="changeDisplay('customParam','formParam');selectButton(this,'param-group')">
    </td>
    <td class="tc" ui-view="interFormParamDiv"></td>
</tr>
<tr ng-if="model.param.indexOf('form=')!=0">
    <td class="tc">
        自定义参数备注
        <input type="button" class="btn btn-default btn-sm w100 mt10 remark-group iactive" value="编辑模式"
               onclick="changeDisplay('paramEditorDiv','paramImportDiv');selectButton(this,'remark-group')">
        <input type="button" class="btn btn-default btn-sm w100 mt10 remark-group" value="JSON导入"
               onclick="changeDisplay('paramImportDiv','paramEditorDiv');selectButton(this,'remark-group')">
    </td>
    <td class="tc">
        <div class="input-group w none" id="paramImportDiv">
                                    <textarea class="form-control no-resize" ng-model="model.importJson"
                                              rows="5" placeholder="请输入需要导出的json数据"></textarea>
            <div class="input-group-addon cursor btn-main"
                 ng-click="importParams('paramRemarks');">
                导入</div>
        </div>
        <div id="paramEditorDiv" ui-view="interParamRemark"></div>
    </td>
</tr>-->